From: Luc Teirlinck Date: Mon, 12 Jul 2004 01:10:54 +0000 (+0000) Subject: (get-buffer-window-list): Doc fix. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~21678 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=4452b934885b0b84f0af9006970dc41488cc67b5;p=emacs.git (get-buffer-window-list): Doc fix. --- diff --git a/lisp/subr.el b/lisp/subr.el index cb825b3e8b3..f2c643b6690 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -1600,7 +1600,8 @@ On other systems, this variable is normally always nil.") ;; This should probably be written in C (i.e., without using `walk-windows'). (defun get-buffer-window-list (buffer &optional minibuf frame) - "Return windows currently displaying BUFFER, or nil if none. + "Return list of all windows displaying BUFFER, or nil if none. +BUFFER can be a buffer or a buffer name. See `walk-windows' for the meaning of MINIBUF and FRAME." (let ((buffer (if (bufferp buffer) buffer (get-buffer buffer))) windows) (walk-windows (function (lambda (window)